package com.ruoyi.oto.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ruoyi.oto.domain.DemandsDepart;
import com.ruoyi.oto.domain.DemandsReply;
import com.ruoyi.oto.domain.dto.DemandsQuryDTO;
import com.ruoyi.oto.domain.vo.DemandsDepartVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 诉求答复Mapper
 *
 * @author ruoyi
 */
@Mapper
public interface DemandsReplyMapper extends BaseMapper<DemandsReply>
{

    /**
     * 根据诉求部门获取诉求部门的回复
     * @param demandDepartId
     * @return
     */
    List<DemandsReply> getDemandsReplyByDemandDepartId(@Param("demandsId") Long demandsId,@Param("demandDepartId") Long demandDepartId);
}
